<?
require_once("../config/dbconn.php");require_once("../config/powercls.php");

$typestr='';$typestr1='';
if($ptype==1){
	foreach($hypriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==2){
	foreach($hysfpriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==3){
	foreach($hyznpriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==4){
	foreach($hyslpriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==5){
	foreach($hyjypriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==6){
	foreach($hygwpriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
if($ptype==7){
	foreach($hydjpriceary as $k1=>$v1){
		if($typestr!='') $typestr.=',';$typestr.=$k1;
		if($typestr1!='') $typestr1.=',';$typestr1.=$v1;
	}
}
echo "send_success:".$typestr."|".$typestr1;
?>
